import { App } from './app.entity'
import { Entity, PrimaryGeneratedColumn, OneToMany, Column } from 'typeorm'

@Entity()
export class AppNetworkTimeout {
  @PrimaryGeneratedColumn()
  id: number

  @OneToMany(type => App, app => app.networkTimeout)
  app: App

  @Column()
  request: number

  @Column()
  connectSocket: number

  @Column()
  uploadFile: number

  @Column()
  downloadFile: number
}
